#ifndef LOGIN_H
#define LOGIN_H

#include <QtSql/QSqlDatabase>
#include <QtSql/QSqlQuery>
#include <QMessageBox>
#include <QtGui>
#include <QCryptographicHash>
#include <QMainWindow>
#include <QTextStream>
#include <sstream>
#include "user.h"
#include "inscription.h"

namespace Ui {
class Login;
}

class Login : public QMainWindow
{
    Q_OBJECT
    
public slots:
    void    co_SQL();

public:
    explicit Login(QWidget *parent = 0);
    ~Login();
    
private slots:
    void on_pushButton_2_clicked();

    void on_pushButton_3_clicked();

private:
    Ui::Login   *ui;
    user        *users;
    QString     name;
    bool        is_dev;
};

#endif // LOGIN_H
